package com.tim.app.server.result;

import java.io.Serializable;

/**
 * 翻页
 */

public class BasePageResult implements Serializable {

    private int pageSize = 0;//每页显示的数量
    private int shownumwidth = 0;//
    private int totalCount = 0;//总数
    private int totalPageCount = 0;//总页数
    private int currentPageNo = 0;//当前页数
    private boolean nextPage ;
    private boolean previousPage ;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getShownumwidth() {
        return shownumwidth;
    }

    public void setShownumwidth(int shownumwidth) {
        this.shownumwidth = shownumwidth;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPageCount() {
        return totalPageCount;
    }

    public void setTotalPageCount(int totalPageCount) {
        this.totalPageCount = totalPageCount;
    }

    public int getCurrentPageNo() {
        return currentPageNo;
    }

    public void setCurrentPageNo(int currentPageNo) {
        this.currentPageNo = currentPageNo;
    }

    public boolean isNextPage() {
        return nextPage;
    }

    public void setNextPage(boolean nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isPreviousPage() {
        return previousPage;
    }

    public void setPreviousPage(boolean previousPage) {
        this.previousPage = previousPage;
    }
}
